package no.sachmuld.methodcombination.examples.adapter.aopstyle;

import no.sachmuld.methodcombination.api.CrosscuttingBehaviour;
import no.sachmuld.methodcombination.api.MethodInvocation;

/**
 *
 */
public abstract class FooBehaviour extends CrosscuttingBehaviour {

    @Override
    public Object around(MethodInvocation<?> methodInvocation) {
        return methodInvocation.proceed();
    }

    public String bar(int i, MethodInvocation<String> methodInvocation) {
        return methodInvocation.proceed();
    }

    public String baz(int i, MethodInvocation<String> methodInvocation) {
        return methodInvocation.proceed();
    }

}

